home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / editor / 3_qtips.zip / TECH14.MSG < prev    next >
Text File  |  1992-10-28  |  2KB  |  38 lines

  1.               A QEdit Tip from the SemWare Technical Support Staff
  2.  
  3.                        .. Replacing a CR with a CR/LF ..
  4.  
  5.         Have you ever loaded a file and gotten the message "long line
  6.         splits"?  Have you ever had a database file that just had a
  7.         carriage return at the end of line of text?  We have developed a
  8.         small macro that allows you to replace a visible carriage return
  9.         (CR) with a carriage return/line feed (CR/LF).
  10.  
  11.         The DOS standard specifies that a CR/LF be appended to each line
  12.         of text in an ASCII text file.  Some databases, as well as the
  13.         Macintosh, only use carriage returns at the end of their lines
  14.         of text in files.  The following macro can be used when you see
  15.         the carriage return (it will appear as a musical note) in your
  16.         text. The macro will replace the carriage return (ASCII 13) with
  17.         a carriage return/line feed (ASCII 13/10).
  18.  
  19.         <key>    MacroBegin SetScreenOff Find #13 Return 'i' Return top:
  20.                  Delch SplitLine CursorDown JoinLine BegLine RepeatFind
  21.                  JTrue top
  22.  
  23.         NOTE: <key> is the key to which you should tie this macro.  In
  24.               addition, the macro must all be on one line in your
  25.               QCONFIG.DAT file.  Once you have added the macro to your
  26.               keyboard, run QCONFIG.EXE to install the changes. To use
  27.               QCONFIG.EXE, run it, press return to accept Q.EXE, press K
  28.               for keys, press return to accept QCONFIG.DAT, then press S
  29.               to save your changes.
  30.  
  31.         Matthew Giles (SemWare Technical Support)
  32.  
  33.         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  34.         Did you miss some of the previous Tips?  Don't worry, you can
  35.         download QEdit Tips 1-14 (Filename: ALLQTIPS.ZIP) on the SemWare
  36.         Support BBS (404-641-8968).
  37.  
  38.